﻿@model BTKERP.Model.Shelf

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Shelf</legend>

    <div class="display-field">
        <b>Code : </b>@Html.DisplayFor(model => model.Code)
    </div>

    <div class="display-field">
        <b>Barcode : </b>@Html.DisplayFor(model => model.Barcode)
    </div>

    <div class="display-field">
        <b>Name : </b>@Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-field">
        <b>Description : </b>@Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-field">
        <b>Warehouse : </b>@BTKERP.MVCWeb.AppCode.DataRefHelper.GetWarehouseById(Model.Id)
    </div>

    <div class="display-field">
        <b>Levels : </b>@Html.DisplayFor(model => model.Levels)
    </div>

    <div class="display-field">
        <b>Capacity : </b>@Html.DisplayFor(model => model.Capacity)
    </div>

    <div class="display-field">
        <b>Weight : </b>@Html.DisplayFor(model => model.Weight)
    </div>

    <div class="display-field">
        <b>Length : </b>@Html.DisplayFor(model => model.Length)
    </div>

    <div class="display-field">
        <b>Width : </b>@Html.DisplayFor(model => model.Width)
    </div>

    <div class="display-field">
        <b>Height : </b>@Html.DisplayFor(model => model.Height)
    </div>

    <div class="display-field">
        <b>Thinkness : </b>@Html.DisplayFor(model => model.Thickness)
    </div>

</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete"  class="btn btn-red"/> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
